package com.brave.shop.repository;

import com.brave.base.CommonRepository;
import com.brave.shop.entity.MCShopGoodsDetailEntity;
import org.springframework.data.repository.query.Param;

/**
 * @ProjectName: has-free-server-api
 * @PackageName: com.brave.shop.repository
 * @UserName: BraveKing-wy
 * @DateTime: 2019/10/6 21:09
 * @Description:
 **/
public interface MCShopGoodsDetailRepository extends CommonRepository<MCShopGoodsDetailEntity, Long>
{

    /**
     * 2019年10月8日 10:46:22
     * 使用商品编码查询商品的详细信息
     * @param goodsId
     * @return
     */
    MCShopGoodsDetailEntity findFirstByGoodsId(@Param("goodsId") long goodsId);
    
    
    
    
    
    
    
}